import React from 'react';
import { connect } from 'dva';
import withRouter from 'umi/withRouter';
import Hello from "@/components/Hello";

class Home extends React.Component {
  render() {
    return (
      <div>
        <h1>This is Home !</h1>
        <Hello />
      </div>
    )
  }
}

export default withRouter(connect(
  ({ loading, routing }) => {
    return {
      loading, routing
    };
  })(Home));



